package com.fay.designPattern.applications.darklaunch;

/**
 * @Title:
 * @Description:
 * @Author Fay Wang
 * @Date 2022/4/28 16:23
 * @Version 1.0
 */
public class Demo {
    public static void main(String[] args) {
        DarkLaunch darkLaunch = new DarkLaunch();
        DarkFeature darkFeature = darkLaunch.getDarkFeature("call_newapi_getUserById");
        System.out.println(darkFeature.enabled());
        System.out.println(darkFeature.dark(893));
    }
}
